package com.amtf.datafile2;

import java.util.List;

public interface DataField {
	public String getName();

	public DataFieldDefinition getDefinition();

	public Object getAttribute(String name);

	public void setAttribute(String name, Object data);

	// public Formula getFormula();
	//
	// public void setFormula(Formula formula);

	public String getValue();

	public void setValue(String o);

	public void validate();

	public boolean isInvalid();

	public List<String> getErrors();

	public void appendError(String message);

	public void clearErrors();

	// public DataField clone();
	public String toString();

	public boolean equals(DataField obj);

	// public int length();

}
